<template>
  <div class="app-container">
        <component :is="layout"></component>
  </div>
</template>

<script>
  import {}  from 'vuex'
  export default {
    data () {
      return {
        isLogin:false,
        layout:'',
      }
    },
    watch:{
      '$route'(newVal){
          this.layout=newVal.meta.layout
      }
    }
  }

</script>
<style scoped lang='less'>
 
</style>